package com.neuedu.hcp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.neuedu.hcp.entity.ExitRegistrate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neuedu.hcp.entity.OutRegistrate;
import com.neuedu.hcp.entity.RecoveryPlan;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 第八组
 * @since 2021-04-26
 */
public interface ExitRegistrateMapper extends BaseMapper<ExitRegistrate> {
    /**
     * 获取所有康复计划（分页）
     * @param page
     * @param exitRegistrate
     * @return
     */
    IPage<ExitRegistrate> getExitListByPage(Page<ExitRegistrate> page, @Param("exitRegistrate") ExitRegistrate exitRegistrate);

}
